import pop from "./popup.vue"
import Vue from "vue";

const popup = Vue.extend(pop);

const p = (meage) => {
    // console.log(666);
    var popups = new popup();
    popups.$mount(document.createElement("div"));
    document.body.appendChild(popups.$el);
    popups.title = meage.title;
    popups.content=meage.content;
    Vue.nextTick(() => {
        popups.isshow = true;
    });
    return popups;
}
export default p





















